diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-04-26 11:39:23 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-04-26 11:39:23 +0700 |
| commit | 0a548e87febeab3d25ba7d5270b73b757f130b26 (patch) | |
| tree | 5f726f2564f6a38a871b2559d3762fb1ff2ad239 /src/pages/my/transactions/[id].jsx | |
| parent | 42fed2490fe537b46a717eafaf1b1e4a5e0a08c8 (diff) | |
fix bug on update qty cart and create quotation page
Diffstat (limited to 'src/pages/my/transactions/[id].jsx')
| -rw-r--r-- | src/pages/my/transactions/[id].jsx | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/pages/my/transactions/[id].jsx b/src/pages/my/transactions/[id].jsx new file mode 100644 index 00000000..e36c1ca4 --- /dev/null +++ b/src/pages/my/transactions/[id].jsx @@ -0,0 +1,27 @@ +import AppLayout from '@/core/components/layouts/AppLayout' +import BasicLayout from '@/core/components/layouts/BasicLayout' +import DesktopView from '@/core/components/views/DesktopView' +import MobileView from '@/core/components/views/MobileView' +import IsAuth from '@/lib/auth/components/IsAuth' +import TransactionComponent from '@/lib/transaction/components/Transaction' +import { useRouter } from 'next/router' + +export default function MyTransaction() { + const router = useRouter() + + return ( + <IsAuth> + <MobileView> + <AppLayout title='Transaksi'> + <TransactionComponent id={router.query.id} /> + </AppLayout> + </MobileView> + + <DesktopView> + <BasicLayout> + <TransactionComponent id={router.query.id} /> + </BasicLayout> + </DesktopView> + </IsAuth> + ) +} |
